package xyz.hujf.tool.currlist;

import java.util.concurrent.CopyOnWriteArrayList;

/**
 * @author Hujf
 * @title: CopyOnWrite
 * @date 2021-04-25 11:20
 * @description: TODO
 */
public class CopyOnWrite {
    public static void main(String[] args) {
        CopyOnWriteArrayList arrayList = new CopyOnWriteArrayList();
        arrayList.add(1);
        arrayList.add(3);
        arrayList.add(0,2);
        System.out.println(111);
    }
}
